package com.dhcc.utils;
/**
 * 分页控件对象
 * 
 * @author zhangkairong 
 * @version 2017-3-20 下午9:25:38
 * 
 */
public class PageControl {

	/**
	 * 当前第几页
	 */
	private int currentIndex;
	
	/**
	 * 每页多少行数据(默认每页10行数据)
	 */
	private Integer pagesize = 5;
	
	/**
	 * 总记录数
	 */
	private Long sumCount;
	
	/**
	 * 总页数
	 */
	private long sumPage;
	
	/**
	 * 分页控件一次显示多少页码(默认一次5页)
	 */
	private Integer everyPageShowPageNum = 5;
	
	/**
	 * 当前分页控件显示的最大页数
	 */
	private long maxPage;
	
	/**
	 * 当前分页控件显示的最小页数
	 */
	private long minPage;

	public int getCurrentIndex() {
		return this.currentIndex;
	}

	public void setCurrentIndex(int currentIndex) {
		this.currentIndex = currentIndex;
	}

	public Integer getPagesize() {
		return this.pagesize;
	}

	public void setPagesize(Integer pagesize) {
		this.pagesize = pagesize;
	}

	public Long getSumCount() {
		return this.sumCount;
	}

	public void setSumCount(Long sumCount) {
		this.sumCount = sumCount;
	}

	public long getSumPage() {
		return this.sumPage;
	}

	public void setSumPage(long sumPage) {
		this.sumPage = sumPage;
	}

	public Integer getEveryPageShowPageNum() {
		return this.everyPageShowPageNum;
	}

	public void setEveryPageShowPageNum(Integer everyPageShowPageNum) {
		this.everyPageShowPageNum = everyPageShowPageNum;
	}

	public long getMaxPage() {
		return this.maxPage;
	}

	public void setMaxPage(long maxPage) {
		this.maxPage = maxPage;
	}

	public long getMinPage() {
		return this.minPage;
	}

	public void setMinPage(long minPage) {
		this.minPage = minPage;
	}
	
	
}
